d667a929eafee45e316650fe52de7b441d8bf01d,src/stats/QueryStats.java,QueryStats,aggQueryStats,#,468
Before Change
final Pair<QueryStat, QueryStat> names = AGG_MAP.get(cumulation.getKey());
addStat(names.getKey(),
(cumulation.getValue().getKey() /
(scanner_stats.size() * Const.SALT_BUCKETS())));
addStat(names.getValue(), cumulation.getValue().getValue());
}
overall_cumulations.clear();
After Change
addStat(names.getKey(),
(cumulation.getValue().getKey() /
(scanner_stats.size() *
Const.SALT_WIDTH() > 0 ? Const.SALT_BUCKETS() : 1)));
addStat(names.getValue(), cumulation.getValue().getValue());
}
overall_cumulations.clear();